package com.dragon.modules.yuegou.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 大转盘奖品库存表实体类<br>
 * 对应的表为：mem_pt_turntable_prize_store<br>
 * 
 * @author pbuilder generated
 * @date 2022-08-12 16:10:33
 * @company sgy
 * @version 2.0
 */
@TableName("mem_pt_turntable_prize_store")
@ApiModel(description = "大转盘奖品库存表")
public class PtTurntablePrizeStoreEntity {

    /** id */
	@ApiModelProperty("id")
	protected String id;

    /** 大转盘ID */
	@ApiModelProperty("大转盘ID")
	protected String pointTurntableId;

    /** 奖品ID */
	@ApiModelProperty("奖品ID")
	protected String prizeId;

    /** 商品id */
	@ApiModelProperty("商品id")
	protected String goodsId;

    /** 奖品库存数量 */
	@ApiModelProperty("奖品库存数量")
	protected Integer storeCount;

    /** 现有库存数量 */
	@ApiModelProperty("现有库存数量")
	protected Integer currentCount;

    /** 获取时间/创建时间 */
	@ApiModelProperty("获取时间/创建时间")
	protected LocalDateTime createdTime;

    /**  */
	protected String createdBy;

    /**  */
	protected LocalDateTime modifiedTime;

    /**  */
	protected String modifiedBy;

    /** 删除 0-未删除；1-已删除 */
	@ApiModelProperty("删除 0-未删除；1-已删除")
	protected Boolean del;

    /**  */
	protected LocalDateTime delTime;

    /**  */
	protected String delBy;

    /** 版本号 修改库存的时候用到 */
	@ApiModelProperty("版本号 修改库存的时候用到")
	protected Integer version;

	/**
	 * 构造一个空大转盘奖品库存表实体对象
	 */
	public PtTurntablePrizeStoreEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个大转盘奖品库存表实体对象
	 * 
	 * @param other 其它对象
	 */
	public PtTurntablePrizeStoreEntity(PtTurntablePrizeStoreEntity other){
		super();
     	this.id = other.id;
     	this.pointTurntableId = other.pointTurntableId;
     	this.prizeId = other.prizeId;
     	this.goodsId = other.goodsId;
     	this.storeCount = other.storeCount;
     	this.currentCount = other.currentCount;
     	this.createdTime = other.createdTime;
     	this.createdBy = other.createdBy;
     	this.modifiedTime = other.modifiedTime;
     	this.modifiedBy = other.modifiedBy;
     	this.del = other.del;
     	this.delTime = other.delTime;
     	this.delBy = other.delBy;
     	this.version = other.version;
	}


	/**
	 * 获取id
	 * 
	 * @return id id
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置id
	 * 
	 * @param id id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取大转盘ID
	 * 
	 * @return pointTurntableId 大转盘ID
	 */
	public String getPointTurntableId() {
		return pointTurntableId;
	}
  	
	/**
	 * 设置大转盘ID
	 * 
	 * @param pointTurntableId 大转盘ID
	 */
	public void setPointTurntableId(String pointTurntableId) {
		this.pointTurntableId = pointTurntableId;
	}

	/**
	 * 获取奖品ID
	 * 
	 * @return prizeId 奖品ID
	 */
	public String getPrizeId() {
		return prizeId;
	}
  	
	/**
	 * 设置奖品ID
	 * 
	 * @param prizeId 奖品ID
	 */
	public void setPrizeId(String prizeId) {
		this.prizeId = prizeId;
	}

	/**
	 * 获取商品id
	 * 
	 * @return goodsId 商品id
	 */
	public String getGoodsId() {
		return goodsId;
	}
  	
	/**
	 * 设置商品id
	 * 
	 * @param goodsId 商品id
	 */
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	/**
	 * 获取奖品库存数量
	 * 
	 * @return storeCount 奖品库存数量
	 */
	public Integer getStoreCount() {
		return storeCount;
	}
  	
	/**
	 * 设置奖品库存数量
	 * 
	 * @param storeCount 奖品库存数量
	 */
	public void setStoreCount(Integer storeCount) {
		this.storeCount = storeCount;
	}

	/**
	 * 获取现有库存数量
	 * 
	 * @return currentCount 现有库存数量
	 */
	public Integer getCurrentCount() {
		return currentCount;
	}
  	
	/**
	 * 设置现有库存数量
	 * 
	 * @param currentCount 现有库存数量
	 */
	public void setCurrentCount(Integer currentCount) {
		this.currentCount = currentCount;
	}

	/**
	 * 获取获取时间/创建时间
	 * 
	 * @return createdTime 获取时间/创建时间
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置获取时间/创建时间
	 * 
	 * @param createdTime 获取时间/创建时间
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return createdBy 
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdBy 
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedTime 
	 */
	public LocalDateTime getModifiedTime() {
		return modifiedTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedTime 
	 */
	public void setModifiedTime(LocalDateTime modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedBy 
	 */
	public String getModifiedBy() {
		return modifiedBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedBy 
	 */
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	/**
	 * 获取删除 0-未删除；1-已删除
	 * 
	 * @return del 删除 0-未删除；1-已删除
	 */
	public Boolean getDel() {
		return del;
	}
  	
	/**
	 * 设置删除 0-未删除；1-已删除
	 * 
	 * @param del 删除 0-未删除；1-已删除
	 */
	public void setDel(Boolean del) {
		this.del = del;
	}

	/**
	 * 获取
	 * 
	 * @return delTime 
	 */
	public LocalDateTime getDelTime() {
		return delTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delTime 
	 */
	public void setDelTime(LocalDateTime delTime) {
		this.delTime = delTime;
	}

	/**
	 * 获取
	 * 
	 * @return delBy 
	 */
	public String getDelBy() {
		return delBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delBy 
	 */
	public void setDelBy(String delBy) {
		this.delBy = delBy;
	}

	/**
	 * 获取版本号 修改库存的时候用到
	 * 
	 * @return version 版本号 修改库存的时候用到
	 */
	public Integer getVersion() {
		return version;
	}
  	
	/**
	 * 设置版本号 修改库存的时候用到
	 * 
	 * @param version 版本号 修改库存的时候用到
	 */
	public void setVersion(Integer version) {
		this.version = version;
	}

    public String toString() {
		return new StringBuilder().append("PtTurntablePrizeStoreEntity{").
			append("id=").append(id).
			append(",pointTurntableId=").append(pointTurntableId).
			append(",prizeId=").append(prizeId).
			append(",goodsId=").append(goodsId).
			append(",storeCount=").append(storeCount).
			append(",currentCount=").append(currentCount).
			append(",createdTime=").append(createdTime).
			append(",createdBy=").append(createdBy).
			append(",modifiedTime=").append(modifiedTime).
			append(",modifiedBy=").append(modifiedBy).
			append(",del=").append(del).
			append(",delTime=").append(delTime).
			append(",delBy=").append(delBy).
			append(",version=").append(version).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public PtTurntablePrizeStoreEntity copy() {
		return new PtTurntablePrizeStoreEntity(this);
	}

    /** id */
	public static final String COL_ID = "id";

    /** 大转盘ID */
	public static final String COL_POINT_TURNTABLE_ID = "point_turntable_id";

    /** 奖品ID */
	public static final String COL_PRIZE_ID = "prize_id";

    /** 商品id */
	public static final String COL_GOODS_ID = "goods_id";

    /** 奖品库存数量 */
	public static final String COL_STORE_COUNT = "store_count";

    /** 现有库存数量 */
	public static final String COL_CURRENT_COUNT = "current_count";

    /** 获取时间/创建时间 */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_CREATED_BY = "created_by";

    /**  */
	public static final String COL_MODIFIED_TIME = "modified_time";

    /**  */
	public static final String COL_MODIFIED_BY = "modified_by";

    /** 删除 0-未删除；1-已删除 */
	public static final String COL_DEL = "del";

    /**  */
	public static final String COL_DEL_TIME = "del_time";

    /**  */
	public static final String COL_DEL_BY = "del_by";

    /** 版本号 修改库存的时候用到 */
	public static final String COL_VERSION = "version";
}
